<?php
$section = 'newsletter';

$titre = _LB_NEWSLETTER_MANAGEMENT;
$smarty->assign('titre', $titre);

$email = strtolower(trim(Request::get('EMAIL')));
$backlink = Session::getBackLink('newsletter');
$currentlink = APPLICATION_URL . "/newsletter/delete/?EMAIL=". $email;

$newsletter = new Newsletter();

if(!$newsletter->get($email))
	redirect($backlink);

$newsletter->delete();

redirect($backlink);